<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						${title}
						<div class="tools-btn">
							<a href="javascript:" id="fullScreen"
								onclick="javascript: history.back();"><span> <img
										src="${path}/statics/images/Redo.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />返 回</span> </a>
						</div>
					</div>
				</div>
				<div class="webpart-main">
					<div class="webpart-main-item" style="padding-top: 12px;">

						<!-- 查詢列表 -->
						<table class="dg_borderstyle trStyleTable" cellspacing="0" id="mytable" 
							cellpadding="0" style="margin-top: 10px; text-align: center;"> 
								<c:forEach items="${pagination.resultList}" var="list">
									<tr>
										<td align="left">
											<a
												href="${path}/routine/agent/index/showitemlist?month=${month}&optype=${optype}&payitemid=${list.PAYITEM}&title=${list.PAYITEMDESC}">
												${list.PAYITEMDESC}</a>[${list.PAYAMT}]
										</td>
									</tr>
								</c:forEach> 
						</table>
						<c:if test="${not empty pagination.multiPage}">
							<div class="dg_pagerstyle">
								<div class="pageinfo">
									第${pagination.page }页 | 共${pagination.totalPages
									}页/${pagination.totalRows }条记录
								</div>
								<div class="pagebtn">
									${pagination.multiPage}
								</div>
							</div>
						</c:if>
					</div>
				</div>
				<div class="webpart-foot">
					<div class="webpart-foot-item">
					</div>
				</div>				
				
			</div>
		</form>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>
